package com.management.model;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 龙世超
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dm_attach")
public class Attach implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "attach_id",type = IdType.AUTO)
    private Integer attachId;

    private String attachDesc;

    private String attachOldname;

    private String attachFile;

    private Integer defectId;

    /**
     * 字节数
     */
    private BigDecimal fileSize;

    private String mimeType;

    /**
     * 1 图片	            0 非图片
     */
    private Integer isPic;

    /**
     * 数据字典ISSUE_DATA_STATE类型的代码
     */


    private String createBy;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String modifyBy;

    @TableField(value = "modify_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;

    private Integer isdeleted;


}
